package com.atguigu.java.ai.langchain4j;

import com.atguigu.java.ai.langchain4j.assistant.LibaiAssistant;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class testLibai {
    @Autowired
    private LibaiAssistant libaiAssistant;
    @Test
    public void test() {
        String chat = libaiAssistant.chat("请你以今天的月光为中心，写一首七言绝句");
        System.out.println(chat);
    }
}
